<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php echo $theme_data['title']; ?></title>
    <meta name="keyword" content="<?php echo $theme_data['keyword']; ?>">
    <meta name="description" content="<?php echo $theme_data['description']; ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
<script>
    <?= Settings::get('en','google_analytics');?>
    </script>
    
    <link rel="stylesheet" type="text/css"
          href="<?= URL::base(); ?>/themes/default/assets/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css"
          href="<?= URL::base(); ?>/themes/default/assets/css/bootstrap-reset.css">

    <link rel="stylesheet" type="text/css"
          href="<?= URL::base(); ?>/themes/default/assets/css/normalize.css">

    <link rel="stylesheet" type="text/css" href="<?= URL::base(); ?>/themes/default/assets/css/main.css">
    <link rel="stylesheet" type="text/css"
          href="<?= URL::base(); ?>/themes/default/assets/css/newcss/easy-responsive-tabs.css">
    <link rel="stylesheet" type="text/css"
          href="<?= URL::base(); ?>/themes/default/assets/css/newcss/newcss.css">
    <link rel="stylesheet" type="text/css"
          href="<?= URL::base(); ?>/themes/default/assets/select2/select2.css">
          
          <link rel="stylesheet" type="text/css"
          href="<?= URL::base(); ?>/themes/default/assets/css/lightbox/bootstrap-lightbox.min.css">
          
    <link rel="stylesheet" type="text/css"
          href="<?= URL::base(); ?>/themes/default/assets/select2/select2-bootstrap.css">


    <link rel="stylesheet" type="text/css"
          href="<?= URL::base(); ?>/themes/default/assets/font-awesome-4.2.0/css/font-awesome.min.css">

    <link rel="stylesheet" type="text/css"
          href="<?= URL::base(); ?>/themes/default/assets//css/custom.css">
    <?php echo $theme_data['metadata']; ?>



    <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
    <!--    <link href='http://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900' rel='stylesheet' type='text/css'>-->

</head>

<body class="loading inner newpage" data-baseurl="<?= URL::base(); ?>">
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade
    your browser</a> to improve your experience.</p>
<![endif]-->


<!-- the header that will be animated by adding the respective state class to it -->
<?php echo theme_partial("header"); ?>

<!-- the sections with triggers -->
<section id="slide-1" class="ha-waypoint">
    <div class="bcg11">
        <div class="hsContainer">
            <div class="hsContent">
                <div class="innerpageContent">
                    <div class="newpge row">

                        <div class="col-lg-12">

                            <?php echo theme_partial("search"); ?>

                        </div>

                    </div>

                    <?php echo theme_partial("counter"); ?>

                    <?php if($breadcrumb){?>
                    <div class="row">
                        <div class="breadcrums">
                            <i class="icon-home"></i>
                            <?php echo $breadcrumb; ?>
                        </div>
                    </div>
                    <?php } ?>


                    <div class="row">
                        <div class="col-sm-3">

                            <div class="widget">
                                <div class="widgetTitle">
                                    <h3>NAVIGATION</h3>
                                </div>

                                <div class="widgetContent bottom-border">
                                    <p><span class="text-danger">Welcome</span> ,
                                        <strong><?= Auth::user()->name; ?></strong></p>

                                    <p>Last Login : <?= Auth::user()->updated_at; ?></p>

                                    <hr>
                                    <ul class="nav-stacked">
                                        <li class="active">
                                            <h4><span class="fa-stack fa-lg">
                                              <i class="fa fa-cogs text-yellow"></i>
                                            </span>
                                                <a href="<?= URL::base() ;?>/member">
                                                    Dashboard
                                                </a></h4>
                                        </li>
                                        <li>
                                            <h4><span class="fa-stack fa-lg text-yellow">
                                              <i class="fa fa-user"></i>
                                            </span>
                                                <a href="<?= URL::base();?>/member/profile">Profile</a></h4></li>
                                        <hr>
                                        <li>
                                            <h4><span class="fa-stack fa-lg">
                                              <i class="fa fa-plus-square text-yellow"></i>
                                            </span>

                                                <a href="<?= URL::base();?>/member/post/add/1">

                                                    Add your Business</a></h4>
                                        </li>
                                        <?php if(Comments::getModule('review')){?>
                                        <li>
                                            <h4><span class="fa-stack fa-lg">
                                              <i class="fa fa-comments text-yellow"></i>
                                            </span>
												
												
                                                <a href="<?= URL::base();?>/member/message">
                                                    <span class="badge pull-right">31</span>
                                                    Messages
                                                </a>
                                               
                                                </h4>
                                        </li>
                                         <?php }?>
                                        <hr>
                                        <li>
                                            <h4><span class="fa-stack fa-lg">
                                              <i class="fa fa-power-off text-yellow"></i>
                                            </span>
                                                <a href="<?= URL::base();?>/logout">Logout</a></h4></li>
                                    </ul>

                                </div>
                            </div>

                        </div>
                        <!-- /.col-sm-3 -->

                        <div class="col-sm-9">

                            <?php echo $theme_content; ?>

                            </div>
                        <!-- /.col-sm-3 -->
                    </div>


                </div>
            </div>
            <!-- /.bcg -->
        </div>
        <!-- /.hsContainer -->
    </div>
    <!-- /.hsContent -->
</section>
<!-- /#slide-1 -->
<?= HMVC::get('Site::widget.footer@index'); ?>
<!-- /#slide-3 -->


<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<!-- Java Script -->
<script src="<?= URL::base(); ?>/themes/default/assets/js/modernizr-2.6.2.min.js"></script>
<script src="<?= URL::base(); ?>/themes/default/assets/js/jquery-1.10.2.js"></script>
<script src="<?= URL::base(); ?>/themes/default/assets/js/jquery-ui.js"></script>
<script src="<?= URL::base(); ?>/themes/default/assets/js/bootstrap.min.js"></script>
<script src="<?= URL::base(); ?>/themes/default/assets/js/AC_RunActiveContent.js"></script>
<script src="<?= URL::base(); ?>/themes/default/assets/js/newjs/easyResponsiveTabs.js"></script>
<script src="<?= URL::base(); ?>/themes/default/assets/select2/select2.js"></script>


<script src="<?= URL::base(); ?>/themes/default/assets/js/lightbox/bootstrap-lightbox.min.js"></script>
<script src="<?= URL::base(); ?>/themes/default/assets/js/jquery.livequery.js"></script>

<script src="<?= URL::base(); ?>/themes/default/assets/js/autocomplete.js"></script>
<script src="<?= URL::base(); ?>/themes/default/assets/js/myJS.js"></script>
<script src="<?= URL::base(); ?>/themes/default/assets/js/newjs/custom.js"></script>

</body>
</html>
